﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Collections.Specialized;
using System.Collections.Generic;

namespace WebTest
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            #region
            //NameValueCollection config = (NameValueCollection)System.Configuration.ConfigurationSettings.GetConfig("CommonConfig");
            //NameValueCollection config = (NameValueCollection)ConfigurationManager.GetSection("CommonConfig");
            //Response.Write(config["name"]);
            //TranstarCarSource.TranstarCarSource ot = new WebTest.TranstarCarSource.TranstarCarSource();
            //ot.CarStatus = 2;
            //ot.TucbId = 14445;
            //ot.TvaId = 1242;
            //ot.TvuId = 1389;
            //ot.ProducerId = 10007;
            //ot.CarTypeId = 179;
            //ot.BrandId = 1594;
            //ot.IsBodyCodeVisible = 1;
            //ot.IsEngineCodeVisible = 1;
            //ot.Transmission = 1;
            //ot.Exhaust = 1;
            //ot.CarBodyColor = "aaa";
            //ot.Mileage = 1;
            //ot.CarCondition = 1;
            //ot.ExchangeWithLicense = 1;
            //ot.CityId = 604;
            //ot.ProvinceId = 6;
            //ot.LicenseCode = "";
            //ot.LicenseCityId = 604;
            //ot.LicenseProvinceId = 6;
            //ot.IsLicenseCodeVisible = 1;
            //ot.GetLicenseDate = DateTime.Now;
            //ot.CarStatus = 1;
            //ot.ActiveTime = 30;
            //ot.Price = 1;
            //ot.SaleArea = "";
            //ot.CarIdentityNumber = "Dealerdzpm14445C";
            //ot.CreateTime = DateTime.Now;
            //ot.AppearCount = 1;
            //TranstarCarSource.CarSourceTransfer oc = new WebTest.TranstarCarSource.CarSourceTransfer();
            //oc.SetCarSouceInfo(ot);
#endregion
            int i = 2000;
            object o = i;
            i = 2001;
            int j = (int)o;
            Response.Write(string.Format("i={0},o={1},j={2}", i, o, j));
        }
    }
}
